//
//  USTarotEmptyCell.m
//  us
//
//  Created by karry on 2025/5/15.
//

#import "USTarotEmptyCell.h"

@implementation USTarotEmptyCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.c_v.backgroundColor = UIColor.mi_1_color;
    self.c_v.layer.cornerRadius = 14;
    self.imgV0.layer.cornerRadius = 6;
    self.imgV0.layer.masksToBounds = YES;
    self.imgV1.layer.cornerRadius = 6;
    self.imgV1.layer.masksToBounds = YES;
    
    CGFloat angle = -15.0 * M_PI / 180.0; // 转换成弧度
    self.imgV0.transform = CGAffineTransformMakeRotation(angle);
    self.imgV1.transform = CGAffineTransformMakeRotation(-angle);
    
    self.btn.layer.cornerRadius = 14;
    self.btn.clipsToBounds = YES;
    [self.btn setTitleColor:[UIColor whiteColor] forState:0];

    USDashedLineView *lineView = [[USDashedLineView alloc]initWithFrame:CGRectMake(0, 0, self.jk_width, 1.2)];
    [self.contentView addSubview:lineView];
    [lineView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_offset(20);
        make.right.mas_offset(-20);
        make.bottom.mas_offset(0);
        make.height.mas_equalTo(1.2f);
    }];
    self.selectionStyle = UITableViewCellSelectionStyleNone;

    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
